﻿/// <summary>
/// https://leetcode-cn.com/problems/regular-expression-matching/
/// </summary>
public class Solution
{
    public bool IsMatch(string s, string p)
    {
        return System.Text.RegularExpressions.Regex.IsMatch(s, $"^{p}$");
    }
}